package com.xoa.dev.dingding.model;

import com.dingtalk.api.response.OapiUserSimplelistResponse;

/**
 * Created by zhangHangNing on 2019/8/5.
 */
public class UserDingDing extends OapiUserSimplelistResponse.Userlist {

    // oa中的id
    private String userId;

    // 钉钉中的id
    private String openId;

    //
    private String deviceid;

    // 是否是管理员
    private Byte isSys;

    // 是否绑定 0未绑定 1绑定
    private String ifBind;

    // 用户姓名
    private String userName;

    // 绑定的用户姓名
    private String bindUserName;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getOpenId() {
        return getUserid();
    }

    public void setOpenId(String openId) {
        setUserid(openId);
    }

    public String getDeviceid() {
        return deviceid;
    }

    public void setDeviceid(String deviceid) {
        this.deviceid = deviceid;
    }

    public Byte getIsSys() {
        return isSys;
    }

    public void setIsSys(Byte isSys) {
        this.isSys = isSys;
    }

    public String getIfBind() {
        return ifBind;
    }

    public void setIfBind(String ifBind) {
        this.ifBind = ifBind;
    }

    public String getUserName() {
        return getName();
    }

    public void setUserName(String userName) {
       setName(userName);
    }

    public String getBindUserName() {
        return bindUserName;
    }

    public void setBindUserName(String bindUserName) {
        this.bindUserName = bindUserName;
    }
}
